package info.techgeek.labs.scjp.operators;

class GuessAnimal {
	public static void main(String[] args) {
		String animal = "unknown";
		int weight = 700;
		char sex = 'm';
		char sex1 = 'f';
		System.out.println("m "+sex);
		System.out.println("m "+sex1);
		double colorWaveLength = 1.630;
		if (weight >= 500) {
			animal = "elephant";
		}
		if (colorWaveLength > 1.621) {
			animal = "gray " + animal;
		}
		System.out.println((sex <= 'f'));
		if (sex <= 'f') {
			animal = "female " + animal;
		}
		System.out.println("The animal is a " + animal);
	}
}
